package com.fly.platform.base.pojo

import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

@TableName(value = "base_user_role")
@ApiModel("用户角色表")
data class UserRole(

        @ApiModelProperty(value = "用户唯一id")
        @TableField("user_id")
        var userId: String? = null,

        @ApiModelProperty(value = "角色唯一id")
        @TableField("role_Id")
        var roleId: String? = null,

        @TableField(exist = false)
        @ApiModelProperty(value = "角色名")
        var roleName: String? = null
) : BasePojo()  {

    companion object {
        const val serialVersionUID = 1L
    }
}